include(TestBigEndian)
TEST_BIG_ENDIAN(HAVE_BIG_ENDIAN)
include(CheckIncludeFiles)
CHECK_INCLUDE_FILES(endian.h HAVE_ENDIAN_H)
include(CheckSymbolExists)
CHECK_SYMBOL_EXISTS(le64toh "endian.h" HAVE_LE64TOH)
CHECK_SYMBOL_EXISTS(le32toh "endian.h" HAVE_LE32TOH)
CHECK_SYMBOL_EXISTS(htobe64 "endian.h" HAVE_HTOBE64)
CHECK_SYMBOL_EXISTS(htobe32 "endian.h" HAVE_HTOBE32)
CHECK_SYMBOL_EXISTS(htole64 "endian.h" HAVE_HTOLE64)
CHECK_SYMBOL_EXISTS(htole32 "endian.h" HAVE_HTOLE32)
